package com.ying.tests.AAAmode.proxy.controller;

import com.ying.common.entity.Response;
import com.ying.tests.AAAmode.proxy.service.ProxyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/proxy")
public class ProxyController {

    @Autowired
    private ProxyService proxyService;

    @GetMapping("/test")
    public Response test() {
        proxyService.test();
        return new Response().success();
    }

}
